<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" class="form-control" name="row[user_id]" type="number" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Server_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-server_id" class="form-control" name="row[server_id]" type="number" value="{$row.server_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Prompt')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-prompt" class="form-control " rows="5" name="row[prompt]" cols="50">{$row.prompt|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Negative_prompt')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-negative_prompt" class="form-control " rows="5" name="row[negative_prompt]" cols="50">{$row.negative_prompt|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Width')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-width" data-rule="required" min="0" class="form-control" name="row[width]" type="number" value="{$row.width|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Height')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-height" data-rule="required" min="0" class="form-control" name="row[height]" type="number" value="{$row.height|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Model_hash')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-model_hash" data-rule="required" class="form-control" name="row[model_hash]" type="text" value="{$row.model_hash|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Vae_hash')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-vae_hash" data-rule="required" class="form-control" name="row[vae_hash]" type="text" value="{$row.vae_hash|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sd_model_checkpoint')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sd_model_checkpoint" data-rule="required" class="form-control" name="row[sd_model_checkpoint]" type="text" value="{$row.sd_model_checkpoint|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sd_vae')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sd_vae" class="form-control" name="row[sd_vae]" type="text" value="{$row.sd_vae|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sampler_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sampler_name" class="form-control" name="row[sampler_name]" type="text" value="{$row.sampler_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Steps')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-steps" min="0" class="form-control" name="row[steps]" type="number" value="{$row.steps|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Batch_size')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-batch_size" min="0" class="form-control" name="row[batch_size]" type="number" value="{$row.batch_size|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-type" class="form-control" name="row[type]" type="text" value="{$row.type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ip')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ip" class="form-control" name="row[ip]" type="text" value="{$row.ip|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weight')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weight" class="form-control" name="row[weight]" type="number" value="{$row.weight|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('More')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-more" class="form-control" name="row[more]" type="text" value="{$row.more|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
